import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'
import * as echarts from 'echarts';
import {post,get} from '../src/utils/http'

//定义全局变量
Vue.prototype.$post=post;
Vue.prototype.$get=get;
import './assets/css/index.css'

// 导入 http 文件夹下的 index.js
import http from '../src/utils/index.js'
Vue.use(http)

Vue.use(dataV);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
